import request from '@/utils/requst'
// /api/task-service/task/search

export const taskSearch = (data) => {
  return request.get('/api/task-service/task/search', {
    params: data
  })
}

// /api/task-service/task/allTaskStatus
export const allTaskStatus = () => {
  return request.get('/api/task-service/task/allTaskStatus')
}

//  /api/task-service/taskType/list
export const getTaskTypeList = (val) => {
  return request.get('/api/task-service/taskType/list', val)
}
